﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ViewModel
{
    public class Comment
    {
        public int ID { get; set; }
        public int IssueID { get; set; }
        public string Content { get; set; }
        public DateTime DateCreated { get; set; }
        public int CreatedByID { get; set; }
        public string CreatedByText { get; set; }
        public string DisplayText { get { return string.Format("{0} (On: {1}): {2}", CreatedByText, DateCreated.ToString(), Content); } }
    }
}
